package vip.sweet.biz.modular.expert.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

/**
 * @author ASUS
 * @Date 2025/10/4 18:23
 * @Descripition
 */
@TableName("biz_experts")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "业务逻辑专家实体类")
@Slf4j
public class BizExperts {
    @Schema(description = "专家ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "专家名称")
    private String name;
    @Schema(description = "专家头像")
    private String avatar;
    @Schema(description = "职称")
    private String title;
    @Schema(description = "所属机构")
    private String organization;
    @Schema(description = "简介")
    private String introduction;
    @Schema(description = "工作经历")
    private String experience;
    @Schema(description = "咨询价格")
    private Double consultationPrice;
    @Schema(description = "评分")
    private Double rating;
    @Schema(description = "评价数")
    private Integer reviewCount;
    @Schema(description = "地址")
    private String location;
    @Schema(description = "可用时间")
    private String availableTime;
    @Schema(description = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @Schema(description = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
